package top.ckxgzxa.newscms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;

// @SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
// @EnableAutoConfiguration(exclude = {SecurityAutoConfiguration.class})
@SpringBootApplication
// 扫描mapper接口所在包
@MapperScan("top.ckxgzxa.newscms.mapper")
public class NewsCmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(NewsCmsApplication.class, args);
    }

}
